import DefaultTheme from "vitepress/theme";
import MyNav from "./components/MyNav.vue";
import "@fortawesome/fontawesome-free/css/all.min.css";

export default {
  ...DefaultTheme,
  // components: {
  // ...DefaultTheme.components,
  // NavBar: MyNav, // 替换默认导航栏
  // },
  enhanceApp({ app }) {
    app.component("NavBar", MyNav);
  },
};
